//
//  FCSDKAppDelegate.h
//  FCSDK
//
//  Created by mac on 2022/7/20.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface FCSDKAppDelegate : UIResponder<UIApplicationDelegate>

/**
 是否允许横屏，默认为不允许横屏
 */
@property (nonatomic, assign) BOOL allowLandscape;

@property (nonatomic, strong) UIWindow *window;

@property (nonatomic, strong) NSDictionary *launchUserInfo;

@property (nonatomic, strong) NSString *isLoadComplate;

@property (nonatomic, strong) NSURL * __nullable sourceOpenUrl;

@property (nonatomic, strong) NSDictionary *openURLOptions;

- (void)fc_application:(UIApplication *)application didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;

- (void)fc_applicationWillResignActive:(UIApplication *)application;

- (void)fc_applicationDidEnterBackground:(UIApplication *)application;

- (void)fc_applicationWillEnterForeground:(UIApplication *)application;

- (void)fc_applicationDidBecomeActive:(UIApplication *)application;

- (void)fc_applicationWillTerminate:(UIApplication *)application;

- (void)fc_application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options;

- (void)fc_application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler;


@end

NS_ASSUME_NONNULL_END
